package com.zhyl.demo.mapper;

import com.zhyl.demo.entity.InHospital;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author yang3
 */
@Mapper
public interface InHospitalMapper {
    /**
     * 通过id得到住院详情
     * @param id
     * @return
     */
    InHospital getInHospitalInfo(int id);

    /**
     * 添加住院信息
     * @param inHospital
     * @return
     */
    Integer addInHospital(InHospital inHospital);
}
